import { defineStore } from 'pinia'
interface NodeInfo{
    connectionStatus:number
    satelliteType:number
    satelliteName:string
    nodeId:string
    ipAddress:string
}
export const useNodeInfoStore = defineStore('nodeInfo',{
    state:()=>{
        return {
            nodeInfo:{} as NodeInfo
        }
    },
    actions:{
        setNodeInfo(nodeInfo:NodeInfo){
            this.nodeInfo = nodeInfo
        }
    }
})
